﻿using System.Runtime.Serialization;

namespace AgNet.Models
{
    [DataContract]
    public class AgResource
    {
        [DataMember]
        public string Id { get; private set; }

        [DataMember]
        public string Title { get; private set; }

        [DataMember]
        public string Subtitle { get; private set; }
        
        /// <summary>
        /// Gets or sets the URL of an image (can be empty).
        /// </summary>
        [DataMember]
        public string Image { get; private set; }

        /// <summary>
        /// Gets or sets the type of resource (only applicable to requests for 'playlists' resource).
        /// </summary>
        [DataMember]
        public string Type { get; private set; }
    }
}
